<html>
	<style>
		body{ 
			font-size: 15pt
				font-family: arial;
							    }
	</style>

<center>
	<h1>请输入代码:</h1>
<body>
	<form action="/code" method="POST">
		<p><textarea name="code" cols="100" rows="100" id="myInput"></textarea>
		<script type="text/javascript">
		var myInput = document.getElementById("myInput")
		if (myInput.addEventListener){
			myInput.addEventListener('keydown',this.keyHandler,false);
		}else if (myInput.attachEvent){
			myINput.attachEvent('onkeydown', this.keyHandler);
		}

		function keyHandler(e){
			var TABKEY = 9;
				if (e.keyCode == TABKEY){
					this.value += "    ";
						if (e.preventDefault){
							e.preventDefault();
						}
						return false;
				}
		}
		</script><input type="submit" value="Next"></p>
</form>
<br>
<br>
</form>
</body>
</center>

</html>
